import 'package:flutter/material.dart';
import 'package:flutter_queen_demo/page/test0015.dart';

import 'page/test001.dart';
import 'page/test0010.dart';
import 'page/test0011.dart';
import 'page/test0012.dart';
import 'page/test0013.dart';
import 'page/test002.dart';
import 'page/test003.dart';
import 'page/test004.dart';
import 'page/test005.dart';
import 'page/test006.dart';
import 'page/test007.dart';
import 'page/test008.dart';
import 'page/test009.dart';
import 'page/car_animation_page.dart';
import 'view/calendar/calendar_page.dart';
import 'widget/app_push_button.dart';

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("首页"),
        centerTitle: true,
      ),
      body: Wrap(
        spacing: 10,
        children:  [
          AppPushButton("日历", CalendarPage()),
          AppPushButton("日历1", CalendarPage()),
          AppPushButton("动画", CarAnimationPage()),
          AppPushButton("动画1", Test001()),
          AppPushButton("动画2", Test002()),
          AppPushButton("动画3", Test003()),
          AppPushButton("动画4", Test004()),
          AppPushButton("动画5", Test005()),
          AppPushButton("动画6", Test006()),
          AppPushButton("动画7", Test007()),
          AppPushButton("动画8", Test008("")),
          AppPushButton("动画9", Test009()),
          AppPushButton("动画10", Test0010()),
          AppPushButton("Dismissible", Test0011()),
          AppPushButton("拖动", Test0012()),
          AppPushButton("test13", Test0013(key: GlobalKey(),)),
          AppPushButton("Test0015", Test0015()),
        ],
      ),
    );
  }
}
